---
title: "readme"
output: word_document
date: "2025-11-21"
---


## Overview
- To process, construct, and calculate trade data impacted by a recent EO on exemptions of certain agricultural products
- For the purpose of this blog, and due to data availability, trade data up to August 2025 are used.

## Execution
- Open the R project `food tariffs.Rproj` and then the`main.R`.
- Run the code in the `main.R`.

## Helpful documents for review
- Executive Order: https://www.whitehouse.gov/presidential-actions/2025/11/modifying-the-scope-of-the-reciprocal-tariff-with-respect-to-certain-agricultural-products/
- Annex file*: https://www.whitehouse.gov/wp-content/uploads/2025/11/annex.pdf

## Data inputs [folder: raw data]
- trade data (hs-8):
  1. USITC DataWeb, monthly trade data (CIF imports, Calculated duties), accessed on 11/21/2025 [folder: raw data/trade data/Imports.xlsx] [folder: raw data/import data_hs08_aug.xlsx]

- 2025 year-to-date calculated duties by country (hs-8):
  1. USITC DataWeb [path: raw data/cald_25_bycountry.xlsx]
  2. USITC DataWeb [path: raw data/cifval_25_bycountry.xlsx]
  
- Product list:
  1. Under f(i) of the Annex file* mentioned above [path: raw data/new examption list 1.txt]
  2. Under f(ii) of the Annex file* mentioned above [path: raw data/list 2 ex religious purposes only.txt]

  

## Explainations
- Figure 1: 
  * As noted in Table 1, HS-8 products are those listed in Section f of the updated Annex file of the November 14 Executive Order and have been aggregated to the HS-2 level.
  
  1. We use tariff revenue collected percentage difference between Apr-Aug 2024 and Apr-Aug 2025 as a proxy of tariff rate increase for the exempted products.
  2. Import figures are annualized trade flows calculated using year-to-date data from January to August 2025 (at the time of writing). 
  3. Calculated savings are approximated by multiplying the tariff revenue collected percentage difference by the respective annualized imports

- Figure 2; 
  1. We calculate the import values and the tariff revenue collected for total US imports by country, and separately for the exempted agricultural products listed.

  2. The beneficiary rate is the ratio of the tariff revenue collected from exempted products to the total import value, again calculated by country.

- To estimate the price decreases for specific products possible due to this tariff reduction
  -- check [code/04-product level data.R]
  1. We assume full price passthrough & similarly use tariff revenue (%) of CIF imports between Apr-Aug 2024 and Apr-Aug 2025 as proxy.
  2. The following HS codes from the Annex file* represent bananas, coffee, and nuts, respectively: bananas (20089915); coffee (all listed products starting with 0901); and nuts (all listed products starting with 0802, as well as 08012100 and 08012200). :
  - *Banana*: 20089915
  - *Coffee*: 
      09011100
      09011200
      09012100
      09012200
      09019010
      09019020

  - *Nuts*:
      08024100
      08024200
      08026100
      08026200
      08027010
      08027020
      08028010
      08028020
      08029110
      08029190
      08029210
      08029290
      08012100
      08012200
      08013100
      08013200


## Data outputs [folder: output]
  1. Data ready for graphs and calculations [output/output.xlsx]
  
  
  